public class test1_for {
    public static void main(String[] args) {
        int total = 0;

        for (int i = 1; i <=100 ; i++){
            if(i % 6 == 0){
                total += 1;
            }
        }

         System.out.println("6的倍数有："+total+"个");
    }
}
